package common.server.exception;

import common.server.respcode.RespCode;
import common.server.respcode.RespCodeService;

/**
 * 参数校验异常
 * @author Administrator
 * @version [版本号, 2017/11/14 0014]
 * @see [相关类/方法]
 * @since [产品/模块版本]
 */
public class ValidException extends BaseException {

    public ValidException(String message) {
        super(RespCodeService.COMM_VAT_ERROR, message);
    }

    public ValidException(String message,Throwable e) {
        super(RespCodeService.COMM_VAT_ERROR,message,e);
    }

    public ValidException(RespCode code, String message) {
        super(code, message);
    }

    public ValidException(RespCode code, String message,Throwable e) {
        super(code, message,e);
    }


}
